package com.zx.mes.hyl.security.core.validate.code;

import org.springframework.web.context.request.ServletWebRequest;

/**
 * 校验码生成器
 * @author hyl
 * @date 2018-5-31
 */
public interface ValidateCodeGenerator {

    /**
     * 生成校验码
     * @param request reqest
     * @return ValidateCode
     * @see ValidateCode
     */
    ValidateCode generate(ServletWebRequest request);
}
